package com.purang.pms.common;

import android.content.Context;
import android.os.Bundle;

import androidx.annotation.Nullable;

import com.alibaba.android.arouter.facade.template.IProvider;
import com.baidu.location.BDLocation;

public abstract class MapService implements IProvider, IBaseMapService {

    public abstract BDLocation obtainBDLocation();

    @Override
    public void init(Context context) {
    }

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
    }

    @Override
    public void onStart() {
    }

    @Override
    public void onResume() {
    }

    @Override
    public void onPause() {
    }

    @Override
    public void onStop() {
    }

    @Override
    public void onDestroy() {
    }

    public abstract void startLocation(Context context);

    public abstract void stopLocation();
}
